#pragma once

#include "muduo/net/EventLoopThread.h"
#include "../mqcommon/mq_threadpool.hpp"
#include "../mqcommon/mq_logger.hpp"

namespace bitmq
{
    //异步工作者类
    class AsyncWorker
    {
    public:
        using ptr = std::shared_ptr<AsyncWorker>;
        muduo::net::EventLoopThread loopthread;
        threadpool pool;
    };
}